#include "../mqserver/mq_channel.hpp"


int main()
{
    zymq::ChannelManager::ptr cmp = std::make_shared<zymq::ChannelManager>();

    cmp->openChannel("c1", 
        muduo::net::TcpConnectionPtr(),
        zymq::ProtobufCodecPtr(),
        std::make_shared<zymq::ConsumerManager>(),
        std::make_shared<zymq::VirtualHost>("host1", "./data/host1/message/", "./data/host1/host1.db"),
        threadpool::ptr());
        
    return 0;
}